package HomeWork01;

/**
 * @author 李孟琦
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: Demo01
 * @ClassName: 001
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/10/9 14:14
 * @Copyright 李孟琦版权所有
 */
public class Commodity {  //商品类别类
    private int no;  //类别编号
    private String name;  //类别名称

    public Commodity(int no, String name) {
        this.no = no;
        this.name = name;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
